package business.ddz.c2s.iclass;

import java.util.ArrayList;

import jsproto.c2s.cclass.BaseSendMsg;

/**
 * 接收客户端数据
 * 加倍
 *
 * @author zaf
 */

@SuppressWarnings("serial")
public class SDDZ_Hog extends BaseSendMsg {

    public long roomID;
    public int curPos;//当前操作位
    public int hog; ////抢庄倍数    规则为抢庄是  0：不抢 1：抢庄   规则为叫分是 0：不叫 1:1分 2：两分 3：三份
    public int nextPos;//下一个操作位
    public int landowner;//地主 -1没有确定地主
    public ArrayList<Integer> holeCards;//底牌
    public int hogScore;//叫分
    public int roomDouble;//房间倍数
    public int hogCount;//叫庄次数
    public boolean isHaveHog;//是否有抢庄

    public static SDDZ_Hog make(long roomID, int curPos, int hog, int nextPos, int landowner, ArrayList<Integer> holeCards, int hogScore, int roomDouble, int hogCount,boolean isHaveHog) {
        SDDZ_Hog ret = new SDDZ_Hog();
        ret.roomID = roomID;
        ret.hog = hog;
        ret.curPos = curPos;
        ret.nextPos = nextPos;
        ret.landowner = landowner;
        ret.holeCards = holeCards;
        ret.hogScore = hogScore;
        ret.roomDouble = roomDouble;
        ret.hogCount = hogCount;
        ret.isHaveHog = isHaveHog;
        return ret;
    }
}
